package org.millioncall.yueyoga.admin.service.impl;

import java.util.List;

import org.millioncall.yueyoga.admin.dao.PayTypeDAO;
import org.millioncall.yueyoga.admin.model.PayType;
import org.millioncall.yueyoga.admin.service.PayTypeService;

public class PayTypeServiceImpl implements PayTypeService {
	
	private PayTypeDAO payTypeDAO;

	public PayTypeDAO getPayTypeDAO() {
		return payTypeDAO;
	}

	public void setPayTypeDAO(PayTypeDAO payTypeDAO) {
		this.payTypeDAO = payTypeDAO;
	}

	@Override
	public List<PayType> findAllAvailable() {
		return this.payTypeDAO.findAllAvailable();
	}

}
